package com.quiz.bis.domain.model;


import com.baomidou.mybatisplus.annotation.*;
import com.quiz.common.core.domain.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 题目对象 bis_questions
 *
 * @author ahuan
 * @date 2025-02-22
 */
@Data
@TableName("bis_questions")
@EqualsAndHashCode(callSuper = true)
public class BisQuestions extends BaseModel
{
    private static final long serialVersionUID = 1L;

    /** 题序 */
    @TableId(type = IdType.AUTO)
    private Long questionId;

    /** 标题 */
    private String questionTitle;

    /** 题干 */
    private String questionText;
    private String questionTextPlain;

    /** 题型 */
    private String questionType;

    /** 难度 */
    private String difficulty;

    /** 分类 */
    private Long categoryId;

    /** 知识点 */
    private Long pointId;

    /** 正确答案 */
    private String correctAnswer;
    private String correctAnswerPlain;

    /** 附件 */
    private String fileIds;

    /** 分类 */
    @TableField(fill = FieldFill.INSERT)
    private String createName;


}

